package com.resource.interfaces.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author try
 * @date 2020/06/29
 */
public class Survey implements Serializable {
    private static final long serialVersionUID = 255124421065707062L;

    private Integer surveyId;

    private String surveyName;

    private String describe;

    private Integer status;

    private Integer dr;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTs;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTs;

    private String releaseTs;

    private String endTs;

    private Integer investigateNum;

    private Integer investigateNumPre;

    private String createUser;

    private String updateUser;

    private String scope;

    private List<Question> questions;

    private Integer isRelease;

    public Integer getIsRelease() {
        return isRelease;
    }

    public void setIsRelease(Integer isRelease) {
        this.isRelease = isRelease;
    }

    public Integer getSurveyId() {
        return surveyId;
    }

    public void setSurveyId(Integer surveyId) {
        this.surveyId = surveyId;
    }

    public String getSurveyName() {
        return surveyName;
    }

    public void setSurveyName(String surveyName) {
        this.surveyName = surveyName;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public Date getUpdateTs() {
        return updateTs;
    }

    public void setUpdateTs(Date updateTs) {
        this.updateTs = updateTs;
    }

    public Date getCreateTs() {
        return createTs;
    }

    public void setCreateTs(Date createTs) {
        this.createTs = createTs;
    }

    public String getReleaseTs() {
        return releaseTs;
    }

    public void setReleaseTs(String releaseTs) {
        this.releaseTs = releaseTs;
    }

    public String getEndTs() {
        return endTs;
    }

    public void setEndTs(String endTs) {
        this.endTs = endTs;
    }

    public Integer getInvestigateNum() {
        return investigateNum;
    }

    public void setInvestigateNum(Integer investigateNum) {
        this.investigateNum = investigateNum;
    }

    public Integer getInvestigateNumPre() {
        return investigateNumPre;
    }

    public void setInvestigateNumPre(Integer investigateNumPre) {
        this.investigateNumPre = investigateNumPre;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public List<Question> getQuestions() {
        return questions;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }
}
